Analysis of the Berlekamp-Massey Linear Feedback Shift-Register Synthesis Algorithm
نویسنده
چکیده
An analysis of the Berlekamp-Massey Linear Feedback Shift-Register (LFSR) Synthesis Algorithm is provided which shows that an input string of length 12 requires C ( i 2 ) multiplication/ addition operations in the underlying field of definition. We also derive the length distribution for digit strings of length n. Results show that, on the average, the encoded length is no greater than n + l . Furthermore, we exhibit a connection between step 1 of the Ling-Palermo algorithm and the LFSR Algorithm, and the LFSR Algorithm turns out to be computationally superior. Introduction The Block-Oriented Information Compression (BOIC) scheme of Ling and Palermo [ 11 is isomorphic to the Linear Feedback Shift-Register (LFSR) Synthesis Algorithm proposed by Massey [2] when one deals with bit strings. The LFSR algorithm, which is essentially the same as the Berlekamp Iterative Algorithm [ 31, was developed for encoding and is more general and computationally faster than the BOIC scheme. This work contains analysis of the LFSR scheme; in particular, we derive the distribution D ( n ; 1) of lengths 1 needed to generate strings of length n. In the binary case, D ( n ; 1) appears when the binary symmetric source is assumed. The distribution D ( n ; 1) can be used to compute the expected value E(n) of a random bit string. It turns out that n i E(n) 5 n + 1 : hence one gets, on the average, data expansion with this method. [The length of n (log,n bits) is not included in this estimate.] A fundamental result in information theory [4, p. 43, Theorem 3.1 I ] states that any encoding must lead, on the average, to data expansion; the result here is quite good in view of that fact. The following section of this paper can be considered a supplement to [2] and [3, Chapter 71. In it we present Massey's algorithm and indicate which steps contribute to the computation cost. We then prove what the minimum, average, and maximum computation costs are in terms of the numbers of multiplications and additions. To first order, these three values are 0, in' (2 p ' ) , and i n z when computations are done in a field with p elements. We determine that the average number of polynomial evaluations is n( 2 p") . This section also contains a derivation of formulas for D ( n ; 1) and E(n) . The next section contains a comparison of step I of 204 the BOIC scheme and the LFSR Algorithm. We show there that steps 2, 3, and 4 of the BOIC scheme compression stage are redundant; i.e., the result they seek is contained in step 1. Then we show that step 1 requires more work than the LFSR Algorithm; step 1 turns out to be C(n") for most sequences. We use the notation of [ I ] and refer to specific equations there. We do not give a parallel evaluation ofthe LFSR Algorithm and the BOlC scheme. However, assuming that we can count n bit operations as one operation, we find that the BOIC scheme can be done in O(n2) operations whereas the LFSR Algorithm requires no more than a( n log,n) operations. Description and specification of the LFSR Algorithm The problem: Given n elements sl, sZ; . ., s, in a finite or an infinite field, find 1 constants c , , c2,. . ., cl in the same field such that
منابع مشابه
Shift-Register Synthesis (Modula m)
The Berlekamp-Massey algorithm takes a sequence of elements from a field and finds the shortest linear recurrence (or linear feedback shift register) that can generate the sequence. In this paper we extend the algorithm to the case when the elements of the sequence are integers modulo m, where m is an arbitrary integer with known prime decomposition.
متن کاملThe Berlekamp-Massey Algorithm. A Sight from Theory of Pade Approximants and Orthogonal Polynomials
In this paper we interpret the Berlekamp-Massey algorithm (BMA) for synthesis of linear feedback shift register (LFSR) as an algorithm computing Pade approximants for Laurent series over arbitrary field. This interpretation of the BMA is based on a iterated procedure for computing of the sequence of polynomials orthogonal to some sequence of polynomial spaces with scalar product depending on th...
متن کاملFeedback Shift Registers , 2 - Adic Span
Feedback shift registers with carry operation (FCSR's) are described, implemented, and analyzed with respect to memory requirements, initial loading, period, and distributional properties of their output sequences. Many parallels with the theory of linear feedback shift registers (LFSR's) are presented, including a synthesis algorithm (analogous to the Berlekamp-Massey algorithm for LFSR's) whi...
متن کاملShift - Register Synthesis and BCH Decoding l
It is shown in this paper that the iterative algorithm introduced by Berlekamp for decoding BCH codes actually provides a general solution to the problem of synthesizing the shortest linear feedback shift register capable of generating a prescribed finite sequence of digits. The shit-register approach leads to a simple proof of the validity of the algorithm as well as providing additional insig...
متن کاملNew permutation codes using Hadamard unscrambling
Another viewpoint is presented on the derivation of theBerlekamp-Massey algorithm. Our approach differs from previous ones inthe following manner. The properties of the shortest linear feedback shiftregister that generates a given sequence are first derived without referenceto the Berlekamp-Massey algorithm. The Berlekamp-Massey algorithm isthen derived using these propertie...
متن کاملParallel Generation of ` Sequences ( extended
The generation of pseudo-random sequences at a high rate is an important issue in modern communication schemes. The representation of a sequence can be scaled by decimation to obtain parallelism and more precisely a sub-sequences generator. Sub-sequences generators and therefore decimation have been extensively used in the past for linear feedback shift registers (LFSRs). However, the case of a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IBM Journal of Research and Development
دوره 20 شماره
صفحات -
تاریخ انتشار 1976